import { defineStore } from 'pinia'

export const useOrderStore = defineStore(
  'order',
  () => {
    const goodsInfo = ref(null)
    const num = ref(1)

    return {
      goodsInfo,
      num,
    }
  },
  {
    persist: true,
  },
)
